//
//  HistoryModel.m
//  IntegralDog
//
//  Created by User on 16/3/17.
//  Copyright © 2016年 hanen. All rights reserved.
//

#import "HistoryModel.h"

@implementation HistoryModel
//- (instancetype)initWithDictionary:(NSDictionary *)dic
//{
//    self = [super init];
//    if (self) {
//        _addtime = [dic objectForKey:@"addtime"];
//        _Id = [dic objectForKey:@"id"];
//        _logo = [dic objectForKey:@"logo"];
//        _reward = [dic objectForKey:@"rewaard"];
//        _size = [dic objectForKey:@"size"];
//        _title = [dic objectForKey:@"title"];
//        _version = [dic objectForKey:@"version"];
//        
//    }
//    return self;
//}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{}

- (void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        [super setValue:value forKey:@"Id"];
    }else{
        [super setValue:value forKey:key];
    }
}


@end
